package goiot;

import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;

public class MyParameterizedType implements ParameterizedType {
	Type rawType;
	Type[] actualTypeArguments;

	public MyParameterizedType(Type rawType, Type[] actualTypeArguments) {
		this.rawType = rawType;
		this.actualTypeArguments = actualTypeArguments;
	}

	@Override
	public Type[] getActualTypeArguments() {
		return this.actualTypeArguments;
	}

	@Override
	public Type getRawType() {
		return this.rawType;
	}

	@Override
	public Type getOwnerType() {
		return null;
	}

}